from django.urls import path
from rest_framework.routers import SimpleRouter

from common import views

urlpatterns = [
    path('province/', views.get_all_provinces),
    path('province/<int:prov_id>', views.get_cities),
    path('city/<int:city_id>', views.get_districts),
    path('code/<str:mobile>', views.send_code),
]

# router = SimpleRouter()
# router.register(r'^province', views.request_province)
#
# urlpatterns += router.urls
